King_Addons\Header_Footer_Builder D

Total Complexity 235
Dependencies 1
Dependents 3
Total lines 1,032
Lines of code 805
Logical lines of code 498
Comment lines 24
Methods 37
Properties 5

Methods 37

Method Rating Maintainability Complexity Lines of code
parseLayoutDisplayCondition()
D
26
52 129
getPostsByConditions()
C
32 28 96
parseUserRoleCondition()
A
47 15 39
getCurrentPageType()
A
46 15 37
getLocationSelections()
A
38 11 71
getFormatRuleValue()
A
48 12 32
columnDisplayLocation()
A
54 12 20
getLocation()
A
50 8 26
columnContent()
A
49 7 33
saveMetaboxData()
S
54 7 21
getMetaOptionPost()
S
57 6 15
setupFallbackSupport()
S
59 6 14
getTemplateID()
S
54 5 20
setCompatibility()
S
56 4 17
loadElementorCanvasTemplate()
S
60 4 14
getPostTargetRuleOptions()
S
53 3 22
addPostType()
S
47 2 35
getSettings()
S
65 4 8
removeExclusionRulePosts()
S
61 3 11
renderMetabox()
S
54 2 23
checkUserCanEdit()
S
69 3 6
removeUserRulePosts()
S
62 3 10
__construct()
S
59 2 13
getHeaderID()
S
68 2 7
isHeaderEnabled()
S
66 2 8
getFooterID()
S
68 2 7
enqueueScripts()
S
69 2 6
setupUnsupportedTheme()
S
65 2 9
isFooterEnabled()
S
66 2 8
instance()
S
72 2 6
getFooterContent()
S
74 1 5
getHeaderContent()
S
79 1 3
renderFooter()
S
74 1 5
columnHeadings()
S
67 1 7
renderHeader()
S
65 1 9
setupSettingsPage()
S
80 1 3
registerMetabox()
S
65 1 10